package br.iars.service.type;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 * <p>
 * Java class for EstimatePreferenceResponse complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="EstimatePreferenceResponse">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="rate" type="{http://www.w3.org/2001/XMLSchema}float"/>
 *         &lt;element name="neighbors" type="{http://service.iars.br/v01/RecommendationService/Types}ElementList"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EstimatePreferenceResponse", propOrder = { "rate", "neighbors" })
public class EstimatePreferenceResponse {

	@XmlElement(required = true, type = Float.class, nillable = true)
	protected Float rate;
	@XmlElement(required = true, nillable = true)
	protected ElementList<String> neighbors;

	/**
	 * Gets the value of the rate property.
	 * 
	 * @return possible object is {@link Float }
	 * 
	 */
	public Float getRate() {
		return rate;
	}

	/**
	 * Sets the value of the rate property.
	 * 
	 * @param value
	 *            allowed object is {@link Float }
	 * 
	 */
	public void setRate(Float value) {
		this.rate = value;
	}

	/**
	 * Gets the value of the neighbors property.
	 * 
	 * @return possible object is {@link ElementList }
	 * 
	 */
	public ElementList<String> getNeighbors() {
		return neighbors;
	}

	/**
	 * Sets the value of the neighbors property.
	 * 
	 * @param value
	 *            allowed object is {@link ElementList }
	 * 
	 */
	public void setNeighbors(ElementList<String> value) {
		this.neighbors = value;
	}

}
